<?php echo Nuo::getHelper('@toolbar')->render('admin.appearance.form.element');?>
<h2>form</h2>
<div class="admin-main-table">
	<table>
		<thead>
			<tr>
				<td>#</td>
				<td>id</td>
				<td>pid</td>
				<td>form id</td>
				<td>enabled</td>
				<td>priority</td>
				<td>name</td>
				<td>label</td>
				<td>type</td>
				<td>action</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($paginator as $item):
			?>
			<tr>
				<td>#</td>
				<td><?php echo $item -> id;?></td>
				<td><?php echo $item -> pid;?></td>
				<td><?php echo $item -> form_id;?></td>
				<td><?php echo $item -> enabled;?></td>
				<td><?php echo $item -> priority;?></td>
				<td><?php echo $item -> name;?></td>
				<td><?php echo $item -> label;?></td>
				<td><?php echo $item -> type;?></td>
				<td>
					[<a href="<?php echo Nuo::getUrl('admin/appearance/form/edit-element',array('id'=>$item->id));?>">edit</a>]
				</td>
			</tr>
			<?php endforeach;?>
		</tbody>
	</table>
</div>